<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use App\Models\User;

class Withdraw extends Model
{
    protected $table = 'withdrawlogs';

    protected $fillable = ['user_id','money','real_money','cash_fee','remain_money','order_num','payway','info','fail_reason','state','alipay_account','alipay_name'];

    public function user()
    {
    	return $this->belongsTo('App\Models\User','user_id','id');
    }
}
